﻿using stdole;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace NUnitVSAddin
{
    internal class ImageConverter : AxHost
    {
        private ImageConverter() : base("52D64AAC-29C1-CAC8-BB3A-115F0D3D77CB") { }
        public static StdPicture GetIPictureDispFromImage(System.Drawing.Image image)
        {
            return (StdPicture)AxHost.GetIPictureDispFromPicture(image);
        }
    }
}
